//跳转app目录
var jumpToApp = function(appId){
    top.location.href = 'index.php?c=Admin&appId='+appId;
}
//刷新主要区域
var refreshMain = function(){
    top.location.reload();
    return false;
}

//反选
var reverseSel = function(){
    $(".selIdCkbox").each(function(){
        if($(this).attr("type") == 'checkbox'){
            $(this).attr("checked",!$(this).attr("checked"));
        }
    });
}

//表格下面的操作
var doSubmit = function(form,appId,c,a,addParam){
    $("#a").val(a);
    $("#c").val(c);
    $("#appId").val(appId);
    form.action = 'index.php'+addParam;
    form.submit();
}
